﻿using System;

namespace SparkServer
{
    /// <summary>
    /// Host used to run a standalone version of the C# WebServer.
    /// </summary>
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                Console.WriteLine("SparkServer");
                Console.WriteLine("An open source integration project for C# WebServer and Spark View Engine.");
                WebServer.Start();
                Console.ReadLine();
            }
            finally
            {
                WebServer.Stop();
            }
        
        }
    }
}